
	function resolveServiceStr(service, param){
		if (!service)
			return service;
		return juicer(service, {param : param});
	}
	
	function getEvent() {
		try {
			if (window.event) {
				return $.event.fix(window.event);
			}
			
			var f = arguments.callee;
			
			while(f = f.caller) {
				var e = f.arguments[0];
				
				if (e instanceof Event || e instanceof $.Event) {
					return $.event.fix(e);
				}
			};
		} catch(e){
			emit($ts.ERROR, e);
		}
	}
